package io.cw.service.impl.reservation;

import com.baomidou.mybatisplus.extension.service.IService;
import io.cw.entity.background.RoomEntity;
import io.cw.entity.reservation.ReservationEntity;

import java.util.List;


/**
 * 预约记录服务类
 * 
 * @author cw
 */
public interface ReservationRecordService extends IService<ReservationEntity> {

    List<ReservationEntity> findAll(String keyWord);

    void signIn(String id) throws Exception;

    void cancel(String seatId);

    List<RoomEntity> ableReservationList();

    void submit(String seatId, String phoneNumber, String email) throws Exception;
}
